<!DOCTYPE html>
<html>
<head>
	<script type="text/javascript">
		var path = "editor/";
	</script>
    <meta charset="UTF-8">
    <title>wangEditor2 test</title>
    <link rel="stylesheet" type="text/css" href="editor/dist/css/wangEditor.min.css">
    <style type="text/css">
        #editor-trigger {
            height: 400px;
        }
        .container {
            width: 100%;
            margin: 0 auto;
            position: relative;
        }
    </style>
</head>
<body style="padding:0 20px;">
    <div id="editor-trigger"></div>
	<div id="editor-trigger2"></div>
    <p><br></p>

    <script type="text/javascript" src="editor/dist/js/lib/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="editor/dist/js/wangEditor.js"></script>
    <script type="text/javascript">
        // 阻止输出log
        // wangEditor.config.printLog = false;

        var editor = new wangEditor('editor-trigger');
        editor.create();
    </script>
</body>
</html>
